*"xfa.library"
##base _XFABase
##bias 30
*
* General use library routines *
XFA_LibErr()()
*
* XFA Pack routines *
XFA_PackMem_W(src0,src1,dest,size,mode)(a0/a1/a2,d0/d1)
XFA_PackMem_L(src0,src1,dest,size,mode)(a0/a1/a2,d0/d1)
XFA_PackBitMap(sbitmap0,sbitmap1,dest,mode)(a0/a1/a2,d0)
*
* XFA UnPack routines *
XFA_UnPackBitMap_W(bitmap,pkdata)(a0/a1)
XFA_UnPackBitMap_L(bitmap,pkdata)(a0/a1)
XFA_UnPackBitMap(bitmap,pkdata)(a0/a1)
*
* Environment routines *
XFA_SetPack(screen,packmode)(a0,d0)
XFA_GetPackMode()()
*
* Packing open/close *
XFA_OpenPackStuff()()
XFA_ClosePackStuff(closemode)(d0)
*
* frames array alloc/free/setup *
XFA_SetFramesArray(framesarray,numframes)(a0,d0)
XFA_AllocFrames(numframes)(d0)
XFA_FreeFrames()()
*
* frames array handling *
XFA_FreeAnim()()
XFA_AnimMem()()
XFA_AnimFrames()()
*
* IFF-XFA handling *
XFA_SaveAnim(filename)(a0)
XFA_LoadAnim(filename,xfa_head,xfa_cmap,loadmode)(a0/a1/a2,d0)
*
* Frames packing routines *
XFA_PosOnFrame(frame)(d0)
XFA_PutFrame(frame)(d0)
XFA_PutSkip(frame)(d0)
XFA_IsSkip(frame)(d0)
*
* Play stuff *
XFA_Play(loop,autopause,waitstart)(d0/d1/d2)
XFA_UseHead(xfa_head)(a0)
XFA_UseCMap(screen,xfa_cmap)(a0/a1)
XFA_OpenPlayStuff(wbmodeid)(d0)
XFA_ClosePlayStuff()()
*
* Misc *
XFA_HeadPtr()()
XFA_CMapPtr()()
XFA_ChangePackBitMap(bitmap)(a0)
XFA_PutSeqFrame(frame)(d0)
XFA_SaveScreen(screen,filename)(a0/a1)
*
XFA_OpenRead(filename,head,cmap)(a0/a1/a2)
XFA_ReadFrame(iff,mem)(a0/a1)
XFA_CloseRead(iff)(a0)
XFA_FreeFrame(mem)(a0)
*
##end
